<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>
<script>
import { useRouter } from "vue-router";

export default {
  setup() {
    let router = useRouter();
    const linkTo = val => {
      router.push(val);
    };
    return {
      linkTo
    };
  },
  components: {}
};
</script>
<style lang="scss">
* {
  margin: 0;
  padding: 0;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

#nav {
  padding: 30px;
  span {
    cursor: pointer;
  }
}
</style>
